namespace Production.CommonLib.Models
{
    public class TechnologyDetailEditRequestDto
    {

        public int Key { get; set; }

        /// <summary>
        /// 工序标识
        /// </summary>
        public int ProcessId { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        public string? ProcessCode => Process.Code;

        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName => Process.Name;

        public ProcessInfoResponseDto Process { get; set; } = new();

        public int Sort { get; set; }

        public double TakeTime { get; set; }
    }
}